add: hazard save before leavin layout page