pt: match input boxes with images better in dialog