Add modal to .contentArea instead of to document.