DO-6: Hide domains list when the user taps outside it