When I input data in this dialog box it should save the data