#12035 done. Added code to ajust width and height of bootstrap modals