unify new and edit thot pages