Summarize this article:

You may find that various people, ranging from security guards to colleagues, might suggest your dress is offensive. Sometimes such people are trying to help you by providing advice. It's best to remain calm and apologize. If possible, you could say you will go back to the hotel or home to change. The problem with getting angry or resisting this change is that the police could get involved then, and you don't want that. You could just throw a Pashmina shawl around your shoulders and avoid a stickier situation. In addition to dress, keep public displays of affection for private times. It's all about Dubai's cultural modesty requirements. Don't hold hands, hug, or make out in public. Be aware that Islamic women in Dubai might not appreciate a handshake or eye contact. A British couple was jailed for a month because they kissed each other in public. You could be arrested for offending public decency especially if the complaining person is Muslim and a citizen of the United Arab Emirates. You could be deported or end up with a month in jail.

Summary:
Handle criticism well. Follow rules for public displays of affection as well.