replaced dialog with QuantityInsertDialog