Steps to reproduce:
1.Open a page with mobile VE with Firefox browser
2.Make an Edit
3.Click on Save button
4.Click on Save button on the second dialog
5.When the dialog with two options "Stay on Page" and "Leave page" appears, click on "Stay on Page"
VisualEditor closes and following error appears in the console
TypeError: ve.init.target is null
and now if you try to edit the page again, clicking on Edit pencil does not open the VisualEditor.
However, the edit seems to be getting saved on the page