Popup: Fix for new jQuery UI version