Revert "EditPage: Use context instead of globals (2/4)"