sample constraint dialog