Draw error message when no document is loaded.