dynamically load edit page