quickfix for the TBModal not using "remote" var

This fix allows the use of "remote" param when buttonOptions are not provided by the user - real usecase.