added base ModalWidget class for widgets that sould only work in modals (#59)