fix for bug "change table structure overlay doesn't go away (ID: 3601155)"

 This is a patch for Tracker:Bugs at
https://sourceforge.net/tracker/?func=detail&aid=3601155&group_id=23067&atid=377408