Wrap click functions so they're not called right away