unit tests for containerless
only append modal component if modals are configured

Closes #70