trying handle dispose on settings window