Add fileupload to add and edit layouts