How to make dialog plugin work on all Android devices