Added support for button creation for BBCodes