convert signature-modal for doc viewer (move to annotation controller, since that was where it was used)