add modal-base support for a component