fixed bug where comments were not saved by the button