commit with commit dialog