fixes #3938 Add Index pop-up needs styling help

Fixed the issue and pushed the code for review, please check it.