enabling widget functions to be called with a helper
toggling the modal button