improved editButtons and reply form handling