Added basic modal implementation.