Added frmSelectMode