In a script
Create a modal window
Have ONLY the close option selected
Run the script
ALL buttons/options are accessible, until you minimize then restore the window when only the Red (close) button is active
Think it is a Lion issue
Tried to report it a month ago but have the email saying no-one was interested.