Uses template for custom button instead of using create button to fix some issues.