Move create_container to constructor in details dialog.