work on buy in dialog