fixing commit dialog