Built bean file and centralised pop up managment.