fix(ionicPopup): if input exists, focus it. else, focus first button
fix(ionicPopup): if input exists, focus it. else, focus first button

Closes #1176

100goals/ionic,deer-hope/ionic,zhengqiangzi/ionic,glustful/ionic,DurgaprasadPati/ionic,Niades/ionic,jamesdixon/ionic,janglednerves/ionic,GhostGroup/ionic,mallzee/ionic,Sourazou/login,jasdeepkhalsa/ionic,cnbin/ionic,ihongcn/ionic,open-anesthesia/ionic,lutrosis81/manup-app,leeric92/ionic,thompsonemerson/ionic,AlphaStaxLLC/ionic,freedomdebug/ionic,leeric92/ionic,yalishizhude/ionic,RodrigoIbarraSanchez/ionic,sitexa/ionic,envistaInteractive/ionic,studio666/ionic,hanmichael/ionic,javascriptit/ionic,DurgaprasadPati/ionic,zittix/ionic,AlphaStaxLLC/ionic,jamesdixon/ionic,ptarjan/ionic,jvkops/ionic,q310550690/ionic,cesarmarinhorj/ionic,GhostGroup/ionic,Niades/ionic,hectoruch/ionic,leejeap/ionic,Nalinc/ionic,yurtaev/ionic,CNVCrew/ionic,nelsonsozinho/ionic,MrChen2015/ionic,Jeremy017/ionic,pargatsingh-webklabs/ionic,michaellourenco/ionic,cleor41/meteor-ionic,astagi/ionic,lazamar/ionic,oneillsp96/ionic,VinceOPS/ionic,ddddm/ionic,eyalish/ionic,taraszerebecki/ionic,glustful/ionic,MJefferson/ionic,qzapaia/ionic,MartinMa/ionic,Urigo/meteor-ionic,urish/ionic,jomaf1010/ionic,eric-stanley/ionic,q310550690/ionic,EricCheung3/ionic,yalishizhude/ionic,uidoyen/ionic,shazhumao/ionic,TakayukiSakai/ionic,cesarmarinhorj/ionic,studio666/ionic,cleor41/meteor-ionic,MarcBT/ionic,fjzdjd/ionic,JackieLin/ionic,JsonChiu/ionic,htc550605125/ionic,GhostGroup/ionic,felipealbuquerq/ionic,freedomdebug/ionic,guaerguagua/ionic,pargatsingh-webklabs/ionic,bewebltd/ionic,cleor41/meteor-ionic,caiiiycuk/ionic,MrChen2015/ionic,amitparrikar/ionic,JackieLin/ionic,eaglesjava/ionic,leerduo/ionic,baiwyc119/ionic,mingming1986/ionic,glustful/ionic,wkrueger/ionic,willshen/ionic,tkh44/ionic,edparsons/ionic,thebigbrain/ionic,Flllexa/ionic,astagi/ionic,edwardchor/ionic,mhartington/ionic,Nalinc/ionic,sitexa/ionic,ihongcn/ionic,jango2015/ionic,cbmeeks/ionic,johnli388/ionic,CNVCrew/ionic,hotarzhang/ionic,r14r-work/fork_ionic_master,johnli388/ionic,qzapaia/ionic,ralic/ionic,ahmadawais/ionic,SaadBinShahid/ionic,GeorgeMe/ionic,ctetreault/ionic,leerduo/ionic,staney7/ionic,pod4g/ionic,DiZyStudio/ionic,timtimUp/ionic,VinceOPS/ionic,PaperMonster/ionic,PaperMonster/ionic,jvkops/ionic,timtimUp/ionic,PressReader/ionic,rreinold/FitnessDashboard_IonicApp,DiZyStudio/ionic,MarcBT/ionic,janglednerves/ionic,zhonggaoyong/ionic,johnli388/ionic,awhedbee22/ionic,javascriptit/ionic,urish/ionic,vjrantal/ionic,fangjing828/ionic,zhiqiangli520210/ionic,Flllexa/ionic,MeteorPackaging/ionic,Kryz/ionic,VinceOPS/ionic,MartinMa/ionic,uidoyen/ionic,awhedbee22/ionic,Baskmart/ionic,blueElix/ionic,sitexa/ionic,hotarzhang/ionic,DiZyStudio/ionic,javascriptit/ionic,amitparrikar/ionic,hectoruch/ionic,bewebltd/ionic,Kryz/ionic,GeorgeMe/ionic,jtomaszewski/ionic,deer-hope/ionic,Jandersolutions/ionic,pargatsingh-webklabs/ionic,puurinternet/ionic,cbmeeks/ionic,chinakids/ionic,caiiiycuk/ionic,mingming1986/ionic,uus169/ionic,x303597316/ionic,hotarzhang/ionic,guaerguagua/ionic,ihongcn/ionic,oabc124/ionic,q310550690/ionic,thebigbrain/ionic,cbmeeks/ionic,Nalinc/ionic,jomaf1010/ionic,LawrenceHan/ionic,thompsonemerson/ionic,blueElix/ionic,jgw96/ionic,vladipus/ionic,n0b0dy897/ionic,oabc124/ionic,leejeap/ionic,LawrenceHan/ionic,baiwyc119/ionic,leeric92/ionic,chinakids/ionic,xzyfer/ionic,javascriptit/ionic,sthashree/ionic,deer-hope/ionic,lewisl9029/ionic,edwardchor/ionic,agyrafa/ionic,studio666/ionic,janij/ionic,asfandiyark7/ionic,trevorgrayson/ionic,Xeeshan94/ionic,pod4g/ionic,cbmeeks/ionic,youprofit/ionic,huangsen0912/ionic,janij/ionic,leobetosouza/ionic,chinakids/ionic,eric-stanley/ionic,buiphu/ionic,leobetosouza/ionic,AlphaStaxLLC/ionic,puurinternet/ionic,fanhaich/ionic,chrisbautista/ionic,bankonme/ionic,Baskmart/ionic,guaerguagua/ionic,gyx8899/ionic,htc550605125/ionic,zhiqiangli520210/ionic,eyalish/ionic,q310550690/ionic,KholofeloMoyaba/atajo-ui,angrilove/ionic,AmberWhiteSky/ionic,shazhumao/ionic,x303597316/ionic,jvkops/ionic,GeorgeMe/ionic,fangjing828/ionic,bankonme/ionic,microlv/ionic,staney7/ionic,angrilove/ionic,felquis/ionic,sloops77/ionic,nelsonsozinho/ionic,Drok1015/ionic,x303597316/ionic,Niades/ionic,954053260/ionic,mingming1986/ionic,thebigbrain/ionic,Testoni/ionic,n0b0dy897/ionic,wkrueger/ionic,ctetreault/ionic,yanzhihong23/ionic-nono,jee1mr/meteor-ionic,michaellourenco/ionic,ahmadawais/ionic,vladipus/ionic,openbizgit/ionic,zhengqiangzi/ionic,ddddm/ionic,jtomaszewski/ionic,JackieLin/ionic,michaellourenco/ionic,Testoni/ionic,EricCheung3/ionic,yanzhihong23/ionic-nono,freedomdebug/ionic,zyaboutblank/ionic,r14r-work/fork_ionic_master,lewisl9029/ionic,bankonme/ionic,ddddm/ionic,thiagofelix/ionic,felipealbuquerq/ionic,MeteorPackaging/ionic,awhedbee22/ionic,vjrantal/ionic,uidoyen/ionic,gyx8899/ionic,envistaInteractive/ionic,pargatsingh-webklabs/ionic,leobetosouza/ionic,htc550605125/ionic,PressReader/ionic,edwardchor/ionic,Jeremy017/ionic,zhonggaoyong/ionic,Jeremy017/ionic,hectoruch/ionic,zyaboutblank/ionic,possan/ionic,jgw96/ionic,mhartington/ionic,zyaboutblank/ionic,sitacote/ionic-across,Testoni/ionic,johnli388/ionic,Baskmart/ionic,AppGyver/ionic,leejeap/ionic,envistaInteractive/ionic,anongtech/ionic,edwardchor/ionic,beauby/ionic,possan/ionic,ViniciusAugusto/ionic,treejames/ionic,PaperMonster/ionic,caiiiycuk/ionic,youprofit/ionic,oabc124/ionic,PaperMonster/ionic,pod4g/ionic,gyx8899/ionic,JoeyAndres/meteoric-sass,KholofeloMoyaba/atajo-ui,jianganglu/ionic,xzyfer/ionic,Sourazou/login,r14r-work/fork_ionic,contigo/ionic,abcd-ca/ionic,r14r/fork_ionic_master,jamesdixon/ionic,r14r/fork_ionic_master,contigo/ionic,brant-hwang/ionic,KholofeloMoyaba/atajo-ui,emonidi/ionic,r14r/fork_ionic_master,mhartington/ionic,lutrosis81/manup-app,sloops77/ionic,jasdeepkhalsa/ionic,treejames/ionic,youprofit/ionic,openbizgit/ionic,jeremyrussell/ionic,baiyanghese/ionic,Niades/ionic,100goals/ionic,AndyShiTw/ionic,Xeeshan94/ionic,JsonChiu/ionic,willshen/ionic,uus169/ionic,microlv/ionic,deer-hope/ionic,nraboy/ionic,zittix/ionic,xuyuanxiang/ionic,buiphu/ionic,ddddm/ionic,sthashree/ionic,laispace/ionic,nraboy/ionic,ptarjan/ionic,MartinMa/ionic,sitexa/ionic,jango2015/ionic,blueElix/ionic,openbizgit/ionic,felipealbuquerq/ionic,contigo/ionic,michaellourenco/ionic,fanhaich/ionic,taraszerebecki/ionic,mallzee/ionic,hanmichael/ionic,uidoyen/ionic,Sourazou/login,bankonme/ionic,janij/ionic,cesarmarinhorj/ionic,jianganglu/ionic,yanzhihong23/ionic-nono,bewebltd/ionic,tkh44/ionic,celsoyh/ionic,jee1mr/meteor-ionic,AlphaStaxLLC/ionic,VinceOPS/ionic,tkh44/ionic,fanhaich/ionic,sthashree/ionic,TakayukiSakai/ionic,emonidi/ionic,trevorgrayson/ionic,femotizo/ionic,astagi/ionic,qzapaia/ionic,janglednerves/ionic,zhonggaoyong/ionic,timtimUp/ionic,Kryz/ionic,r14r-work/fork_ionic,thebigbrain/ionic,anongtech/ionic,WingGao/ionic,AndyShiTw/ionic,asfandiyark7/ionic,promactkaran/ionic,csbz17027/ionic,zhengqiangzi/ionic,Flllexa/ionic,leeric92/ionic,KholofeloMoyaba/atajo-ui,baiyanghese/ionic,kylezhang/ionic,ngonzalvez/ionic,Gregcop1/ionic,shazhumao/ionic,xzyfer/ionic,kylezhang/ionic,SobolevLexa/ionic,RodrigoIbarraSanchez/ionic,treejames/ionic,jianganglu/ionic,fanhaich/ionic,zhiqiangli520210/ionic,954053260/ionic,MeteorPackaging/ionic,blueElix/ionic,willshen/ionic,lazamar/ionic,JackieLin/ionic,xuyuanxiang/ionic,studio666/ionic,baiwyc119/ionic,hectoruch/ionic,GhostGroup/ionic,leejeap/ionic,ptarjan/ionic,AmberWhiteSky/ionic,youprofit/ionic,5amfung/ionic,agyrafa/ionic,amitparrikar/ionic,Jandersolutions/ionic,pod4g/ionic,rreinold/FitnessDashboard_IonicApp,ngonzalvez/ionic,laispace/ionic,NandoKstroNet/ionic,JsonChiu/ionic,contigo/ionic,yalishizhude/ionic,eaglesjava/ionic,TakayukiSakai/ionic,zittix/ionic,promactkaran/ionic,femotizo/ionic,DurgaprasadPati/ionic,x303597316/ionic,sloops77/ionic,jango2015/ionic,celsoyh/ionic,jeremyrussell/ionic,felipealbuquerq/ionic,jgw96/ionic,r14r-work/fork_ionic_master,DiZyStudio/ionic,femotizo/ionic,kylezhang/ionic,Testoni/ionic,tkh44/ionic,TakayukiSakai/ionic,awhedbee22/ionic,jango2015/ionic,asfandiyark7/ionic,thiagofelix/ionic,EricCheung3/ionic,ViniciusAugusto/ionic,open-anesthesia/ionic,anongtech/ionic,jasdeepkhalsa/ionic,PressReader/ionic,eaglesjava/ionic,cnbin/ionic,janglednerves/ionic,sitacote/ionic-across,CNVCrew/ionic,MarcBT/ionic,rreinold/FitnessDashboard_IonicApp,GeorgeMe/ionic,ezc/ionic,thiagofelix/ionic,amitparrikar/ionic,daew823/ionic,RodrigoIbarraSanchez/ionic,lutrosis81/manup-app,SaadBinShahid/ionic,lutrosis81/manup-app,Nalinc/ionic,xuyuanxiang/ionic,thompsonemerson/ionic,trevorgrayson/ionic,hanmichael/ionic,SaadBinShahid/ionic,ezc/ionic,zhengqiangzi/ionic,Drok1015/ionic,ngonzalvez/ionic,eyalish/ionic,jeremyrussell/ionic,ralic/ionic,chrisbautista/ionic,puurinternet/ionic,MJefferson/ionic,jeremyrussell/ionic,buiphu/ionic,r14r-work/fork_ionic,open-anesthesia/ionic,jvkops/ionic,954053260/ionic,mingming1986/ionic,AmberWhiteSky/ionic,ahmadawais/ionic,sloops77/ionic,jtomaszewski/ionic,Drok1015/ionic,leerduo/ionic,shazhumao/ionic,SobolevLexa/ionic,jayvi/ionic,NandoKstroNet/ionic,oneillsp96/ionic,caiiiycuk/ionic,qzapaia/ionic,staney7/ionic,yurtaev/ionic,femotizo/ionic,n0b0dy897/ionic,100goals/ionic,WingGao/ionic,LawrenceHan/ionic,bewebltd/ionic,chrisbautista/ionic,felquis/ionic,daew823/ionic,Gregcop1/ionic,jomaf1010/ionic,thiagofelix/ionic,NandoKstroNet/ionic,edparsons/ionic,jgw96/ionic,NandoKstroNet/ionic,yurtaev/ionic,freedomdebug/ionic,leerduo/ionic,Gregcop1/ionic,ViniciusAugusto/ionic,CNVCrew/ionic,jianganglu/ionic,staney7/ionic,huangsen0912/ionic,lewisl9029/ionic,oneillsp96/ionic,csbz17027/ionic,SaadBinShahid/ionic,nelsonsozinho/ionic,jayvi/ionic,Kryz/ionic,fangjing828/ionic,oneillsp96/ionic,ngonzalvez/ionic,AndyShiTw/ionic,janglednerves/ionic,agyrafa/ionic,LawrenceHan/ionic,glustful/ionic,MartinMa/ionic,100goals/ionic,chrisbautista/ionic,daew823/ionic,fjzdjd/ionic,ahmadawais/ionic,lewisl9029/ionic,Xeeshan94/ionic,cnbin/ionic,agyrafa/ionic,thompsonemerson/ionic,Tetpay/ionic,jasdeepkhalsa/ionic,huangsen0912/ionic,janij/ionic,microlv/ionic,jayvi/ionic,Jeremy017/ionic,fangjing828/ionic,possan/ionic,angrilove/ionic,edparsons/ionic,Xeeshan94/ionic,jayvi/ionic,promactkaran/ionic,AppGyver/ionic,AmberWhiteSky/ionic,fjzdjd/ionic,Gregcop1/ionic,jomaf1010/ionic,gyx8899/ionic,celsoyh/ionic,MeteorPackaging/ionic,954053260/ionic,openbizgit/ionic,emonidi/ionic,jee1mr/meteor-ionic,AndyShiTw/ionic,wkrueger/ionic,abcd-ca/ionic,baiwyc119/ionic,brant-hwang/ionic,taraszerebecki/ionic,sitacote/ionic-across,MrChen2015/ionic,buiphu/ionic,Drok1015/ionic,envistaInteractive/ionic,csbz17027/ionic,ihongcn/ionic,yalishizhude/ionic,MarcBT/ionic,felquis/ionic,taraszerebecki/ionic,r14r-work/fork_ionic_master,anongtech/ionic,kylezhang/ionic,brant-hwang/ionic,ezc/ionic,xzyfer/ionic,DurgaprasadPati/ionic,angrilove/ionic,leobetosouza/ionic,treejames/ionic,beauby/ionic,timtimUp/ionic,EricCheung3/ionic,uus169/ionic,JsonChiu/ionic,lazamar/ionic,willshen/ionic,zyaboutblank/ionic,microlv/ionic,nelsonsozinho/ionic,ptarjan/ionic,xuyuanxiang/ionic,possan/ionic,yurtaev/ionic,asfandiyark7/ionic,ctetreault/ionic,trevorgrayson/ionic,hanmichael/ionic,sthashree/ionic,eyalish/ionic,AppGyver/ionic,SobolevLexa/ionic,5amfung/ionic,5amfung/ionic,r14r-work/fork_ionic,ezc/ionic,jgw96/ionic,zhonggaoyong/ionic,rreinold/FitnessDashboard_IonicApp,cnbin/ionic,ctetreault/ionic,emonidi/ionic,ViniciusAugusto/ionic,lazamar/ionic,open-anesthesia/ionic,cleor41/meteor-ionic,RodrigoIbarraSanchez/ionic,abcd-ca/ionic,csbz17027/ionic,Tetpay/ionic,MJefferson/ionic,n0b0dy897/ionic,brant-hwang/ionic,MJefferson/ionic,zhiqiangli520210/ionic,daew823/ionic,promactkaran/ionic,r14r/fork_ionic_master,jee1mr/meteor-ionic,vjrantal/ionic,urish/ionic,Baskmart/ionic,5amfung/ionic,yanzhihong23/ionic-nono,huangsen0912/ionic,guaerguagua/ionic,hotarzhang/ionic,zittix/ionic,uus169/ionic,ralic/ionic,astagi/ionic,jamesdixon/ionic,MrChen2015/ionic,ralic/ionic,SobolevLexa/ionic,puurinternet/ionic,cesarmarinhorj/ionic