Revert "Fix freeze when pressing enter to dismiss a dialog while focused in a text box in Mozilla applications."
This changes execInWindow to again use PostMessage rather than SendMessageCallback.
This reverts commit 657fb56a2dfee855cb998ed0903d60d33866079a.