fixes #2806 The restore index window need styling help

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