fix #7353 in case the snapping dialog is not docked