Fix chess piece refresh when resizing and provide OK/Cancel in dialog