what do u mean? u saying that using the second method and the dialog is openned, you will receive it the pm normally or it only appear on the dialog?
cause using the .closemsg $nick it will close the message, and it will only show on dialog