Modal Dialog movements

Modal Dialog movements

Hi,

On click of a link I am displaying modal dialog without specifying any position arguments.

By default, it positions the dialog in middle of the screen and also, it does not responds or moves along with the scroll bar changes. The problem with this behavior is that, if the document is long in length then dialog box appears below the working area and I have to scroll down to get hold of it.

When I specify position attribute, it does appear at desired location but then when I scroll down, it keeps following the scroll bar.. which I dont want...

The solution I want is, Can I specify position of the dialog box and still do not make it move along with the scroll bar?

Please let me know. I am stuck.


Paresh