cash dialog working