Resolve the issue of modal dialog covering part of menu on first loading home page.