Close modal after add

That probably means you have server or client error from the Add page so the subsequent List page is not loaded to refresh the list page. You should check the HTTP response of the Add page in the Network panel as suggested in Check HTTP response. Make sure you have enabled the follows in your php.ini so the errors will be displayed by your PHP processor:

Press F12 in browser and go to the Console panel to check for JavaScript errors.