added beforeSaveAjax trigger to bsPanel