modal content to panel