Nipper,Thanks for the feedback. This screen is before the invocation of the actual workflow but files are locked by the user at this moment so that nobody else can work on them till the current user has either invoked & finished the workflow ( via publish content button) or decides to cancel it (via cancel button). The cancel button click needs to close the window and release the locks and that is where I am stuck at the moment because the javascript function called by onclick does not know how to call the perl method on server side to unlock files.Deepak