purchase dialog cleanedup - table seems to crash for reason unknown