CloseOnExternalClick and ExternalClickMouseButton

Added properties for closing on mouse click.