modal boxes now pass down the cursor parameter when rendering header body and footer