fix edge case in choosing bookshelf modal