Issue #2375455 by eshta: Fix Drupal behaviors that generate a resize event can prevent dialog display and callback.
Merge branch 'Issue-2375455' into 7.x-1.x