Begin refactoring into lightdismiss method.