made generic Modal mixin for controls settings boxes