Small improvement so that container-dialog contents won't show initially while JS is loaded and run