Restrict module running to page edit only