fixes #1753 - Showing a modal from an AJAX request that returns a full-blown HTML page clears the page
fixes #1753 - Showing a modal from an AJAX request that returns a full-blown HTML page clears the page