Improvement

Bug fixed
Alert return true
Confirm/close alert with enter