added hook and improvements: quick edit add external comment etc