finished the popup view for editing threads and new replies