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