Add column with edit button. set event for close click from menu. fix bug with empty row