Added support for setting the config dialog for a view

Change-Id: I466487f11fabb5ee6112964ad3a117d0b9fdb4ce
Merge branch 'config-for-views'

Change-Id: I999193d41a066743e344d21c25f4d1ee282f2a1d