cellMsgDialog code moved