Made revoke apis return the updated folder state
Added modal dialog