Modified Done switch, can be done if isPrompt is no