Added warning dialog when users try to borrow or return a book that is already in possession of someone else.