Consider the set of complex numbers $z$ satisfying $|1+z+z^2|=4$. The largest possible value for the imaginary part of $z$ can be written as $\dfrac{\sqrt{m}}{n}$, where $m$ and $n$ are positive integers and $m$ is not divisible by the square of any prime. What is $m+n$?