public static Frame getAnyFrame() {
		Frame frame = AppWindow.getTopWindow();

		if (frame == null) {
			Frame[] frames = Frame.getFrames();

			for (Frame element : frames) {
				if (element.isDisplayable()) {
					return element;
				}
			}
			return getHiddenFrame(true);
		}
		return frame;
	}