change jquery style,embed image and grid to dialog