SSP-2828 Do not close email dialog if form submit fails