Princess Beatrice Made a Last-Minute 'Request' to Borrow the Queen's Dress for Her Wedding Gown

"It was touching for both of them," a friend of the bride tells PEOPLE