Could not make the modal to show the appropriate elements.