Revert "Mapping the 'X' icon on the top right of a Dialog to behave the same"

This reverts commit 4128b553900f5c62bd30c5f81b09064211a5ab01.