[#WIZ-126] NullPointerException when closing wizar's edit window