Add validation if named pipe chosen and no message entered