Whenever I double-click an object to edit (text, dim, mtext, etc) my ATTDIA variable gets restet to 1. I have ATTDIA set to 0 in my acaddoc.lsp so my lisp programs won't call up a dialog box.
I couldn't understand how the variable kept getting reset to 1 until I found that the command AMPOWEREDIT resets it. AMPOWEREDIT is called with every double-click.

Is there a way to undefine AMPOWEREDIT or not have it effect the ATTDIA?