Using jquery ui dialog for answer messages