adding reset to staged items in the commit dialog

should fix #2254