Make the modal dialog hide/show content.