got dialog box to show just when submiting an order