Changed default close operation on secondary windows to dispose