Work towards <rdar://problem/38758727>.
Refactor view controller presentation and dismissal, such that first responder status is restored before dismissing down to reveal the focused form control overlay.
Created attachment 336536 [details]
Comment on attachment 336536 [details]
Clearing flags on attachment: 336536
Committed r229986: <https://trac.webkit.org/changeset/229986>
All reviewed patches have been landed. Closing bug.