- fixed potential hibernate exception when trying to close the editor (check if...