Prevent failures caused by popover. It won't work in iPhone devices.