Added yesnocancel option to render modal as