My problem is that it looks like action depends on value of widget, but it is not true as only parameter depend on it.
What I read from your code is do something depending on value of `MODIFY_RESOLV`
what my code says is value of `PLAIN_POLICY` depends on widget `MODIFY_RESOLV`
So it is logical difference.