Bug 1090859 - Fixing race condition between applications.ready and SIM dialog