--because focus is lost from dock tooltips the dock settings window was closing. We take into account that case in order to not close the dock settings window in such case