Added UI and functionality for editing and deleting replies