Making the focusOnShow logic in BS.Popup work with select elements.