removed build and resources
fixed so dialog can still be used on Android