Fixed crash related to Alert dialog on Events page

Null Pointer if alert dialog was not created and onPause tried to
dismiss it