dealt with closing of selectbox_plus dialogs when closing form.