Added ajax submit event to modal
Fixed indentation for index.php