add editor page validation