core: on lost session, only show reload dialog iff there are filled in textareas, otherwise reload the page.