Fixed the misalignment of cancel button. The hidden class should take care of it but it doesn't, so I made this solution instead.