It’s important that you check with the FCDO that UAE is safe to travel, before you set off and while you’re away. If the government advise against all but essential travel to UAE, and you choose to go on holiday against travel advice, your policy would become invalid and you wouldn’t be covered if you needed to claim.
If you’re worried about travelling to Dubai or other regions of the United Arab Emirates, then having the right travel insurance can make sure your holiday is protected.