The `CloseOnOutsideClick` property was set to `true`, allowing the popup to close when clicking outside of it. The `ShowCloseButton` property was also set to `true`, enabling the display of a close button. Additionally, the `CloseOnEscape` property was set to `true`, allowing the popup to close when the Escape key is pressed.
These changes enhance the user experience by providing multiple intuitive ways to close the popup, making it more user-friendly.