register activity checks and alertDialogs