Move last dialog into CustomAlerts class