Dialog: modified _createOverlay to _appendTo instead of document.body. F...

Dialog: modified _createOverlay to _appendTo instead of document.body. Fixed #8984 - Modal dialogs display behind overlay when using appendTo option