close selectform on main log window close