Fixed borrow modal bug