Fixed On Exit Dialog Activation Event