fix(modal): add focus check for IE
fix(modal): add focus check for IE

- Check if element has focus method due to IE issues

Closes #5097
Fixes #5096

icfantv/bootstrap,Foxandxss/bootstrap,BookingBug/bootstrap,mabi/bootstrap,shootermv/bootstrap,deeg/bootstrap,RobJacobs/bootstrap,Servoy/bootstrap,benhalverson/bootstrap,christor/bootstrap,wesleycho/bootstrap,icfantv/bootstrap,looker/bootstrap,mabi/bootstrap,292388900/bootstrap,RobJacobs/bootstrap,burlhock/bootstrap,shootermv/bootstrap,fpipita/bootstrap,benhalverson/bootstrap,byronigoe/bootstrap,infowrap/bootstrap,byronigoe/bootstrap,caoruiy/bootstrap,infowrap/bootstrap,Servoy/bootstrap,wesleycho/bootstrap,fpipita/bootstrap,vfiles/bootstrap,benhalverson/bootstrap,Kpler/bootstrap,deeg/bootstrap,vfiles/bootstrap,BookingBug/bootstrap,burlhock/bootstrap,Foxandxss/bootstrap,angular-ui/bootstrap,benhalverson/bootstrap,caoruiy/bootstrap,angular-ui/bootstrap,looker/bootstrap,292388900/bootstrap,christor/bootstrap,Kpler/bootstrap