added focus to message on controls close / documented the methods of this directive