RebuyDialog implemented [not finished]