popup close button fix rtl version