Improve dialog for configuration

Add base model for plugins