fix popup loading
reset modal dialog body while hidden