Improved modal related logic on Installation page.