Actions and panels were not being disposed properly when app is
disabled.