Clearing container when dialog loads

Clears the container when the dialog is loaded so that the list isn't
populated multiple times.