dynamically generated popup button problem fixed