This is related to
OFBIZ-4256. Need to port the same for release 11.04.
If the session has already timed out. The dialog box would show the login screen and if user do login then lookup screen open in a blank page.
In trunk this is implemented but need to fix the ajax login link in popup, it shows the error "document.ajaxNotLoggedIn_LF_1 is undefined" in js console.