Add support for adding multiple layers in Add data Dialog.