defer selection handling until after other events have been processed