fixed wrong value being sent for modal form parent, now Dialogs work in alien windows as they did before