Fix saving of Datasources reverting to be Create Data Source when an error occurs while editing an existin DS. Fixes #1671
Apply the same logic for DSE to the Events Editor. RE: #1671
Make the pagination disabled JS event more specific to handle when datasources are provided by extensions