We develop a self-consistent theoretical approach to the dynamics of Anderson localization in open three-dimensional (3D) disordered media. The approach allows us to study time-dependent transmission and reflection, and the distribution of decay rates of quasimodes of 3D disordered slabs near the Anderson mobility edge.