remove advanced class rather than using show()
add advanced_elements array to config
only show button if config.advanced_elements is not empty