Modeling electron dynamics coupled to continuum states in finite volumes with absorbing boundaries