You will need jQuery if you wish to display the information in the same page, without navigating to another page or use frames.
Last time I used the BBCode editor in vB Admin you just put the code in there instead of messing round with new pages or editing the php code for the posts anyway. So the code would go in there you'd just call up the database, maybe a javascript for the popup box and it's done.
Unless it's changed!