StructSelection now implements parcelable to be used by
savedinstancestate
added base classes for dialogs
added activity dialog layouts