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