display message before opening window