Added a progress dialog for feature deletion and moved the deletion to the native side instead of the js side