Add placement attribute & on-toggle handler.