Healthy brain exhibits a rich dynamical repertoire, with flexible spatiotemporal patterns replays on both microscopic and macroscopic scales. How do fixed structural connections yield a diverse range of dynamic patterns in spontaneous brain activity? We hypothesize that the observed relationship between empirical structure and functional patterns is best explained when the microscopic neuronal dynamics is close to a critical regime. Using a modular Spiking Neuronal Network model based on empirical connectomes, we posit that multiple stored functional patterns can transiently reoccur when the system operates near a critical regime, generating realistic brain dynamics and structural-functional relationships. The connections in the model are chosen as to force the network to learn and propagate suited modular spatiotemporal patterns. To test our hypothesis, we employ magnetoencephalography and tractography data from five healthy individuals. We show that the critical regime of the model is able to generate realistic features, and demonstrate the relevance of near-critical regimes for physiological brain activity.