Remove public
Dont override confirm dialog if on iphone. Keep bootbox for ipad