a simple jquery ui dialog mixing with example