[major] add controls dynamically and make sure they are on top