fixed residing add table dialog when adding a table