don't append modal container until needed