Demo for a modal window directive that is opened by a controller.