[PATCH] Pressing F12 should do the same thing as clicking "Done" (#840998).