added restrictions to hints dialog