QIF: fix bug if cancel button pressed and then OK re-clicked