init layout, set default style
added popup layout and styles