This addresses a bug, in which submitting a password through the iframe api no longer closes RoomLockPrompt, by explicitly closing prompts for a lock or password.