AWComponent modalPageComponent = null;
AWRequestContext requestContext = requestContext();
String windowNameString = StringUtil.strcat("aw", _elementId.string());
AWEncodedString windowName =
AWEncodedString.sharedEncodedString(windowNameString);
AWRequest request = requestContext.request();
String shouldClose = request.formValueForKey("awshouldClose");
if (shouldClose != null) {
// Go down this path when the modal window closes
// flush the page cache and cycle the current page
session().removePageCache(windowName);