Reset modal on alarm view after closing it.