dynamic replacement of whole topbar when making ajax calls to edit