form validate email and modal form close event, tooltip