Resolved the bug related to Bootstrap Modal window on index.php