Report question

Question: How to create jQuery Dialog in function