More flexibility in server control over modals