add confirmation if changing bookshelf with unsaved changes