PRINCE: Beginning of makeInvCursor and dialog functions