add purchase quantity dialog
close previous activity