Merge branch 'Issue-2375455' into 7.x-1.x
Issue #2380005 by eshta: Only initialize AJAX functions for dialogs that contain Drupal forms.
Merge branch 'Issue-2380005' into RC