I think this is related to the question if the directive contains the form only or the whole dialog