First draft of OpenLMIS iframe handling