Modal check, event not showing and button press.

Corrected errors of modal, event not showing and the button press.