fixed a bug where a dirty editform wouldn't trigger the "are you sure" qmessagebox