Fixed bugs with modal window and footer position