WP-3831: Call Ctools modal dismiss to close overlay.
WP-3831: Use modal dismiss as a fallback and click Cancel button if it's there. This would preserve back to Add Content functionality.