Panel: Removed classes that we don't use from panel dismiss.