Created attachment 45982 [details] The first of two simple HTML files demonstrating the bug. When close a dialog window, e.g. launched from a input field button, the parent page does not receive focus if the dialog calls close() on itself. However, if the dialog calls focus() on the parent and then calls close(), the parent will have proper focus. This happens regardless of whether the parent had focus before the dialog launched. See the two attached files.
Created attachment 45983 [details] The second HTML file. Adding the companion HTML file.