added layer addition dialog & procedures