Revert "Add closeAction"

This reverts commit 79ecbd62595d345438951f6d86c332ffd617807f.