Making isSmallMobile() part of the API for dialogs