I have implemented a jQuery Modal in the following way:
$(document).ready(function () { $("#result").dialog({ autoOpen: fal