add confirmation dialog to orders and inventories